/**
 * 存储餐厅门户中餐厅有关的信息
 */

import Cookies from "js-cookie";

const restaurant = "USER_INFORMATION";

/**
 * 获取餐厅相关信息
 */
export function getRestaurantInformation() {
    return Cookies.get(restaurant);
}

/**
 * 设置餐厅相关信息
 */
export function setRestaurantInformation(information) {
    return Cookies.set(restaurant, information);
}

/**
 * 移除餐厅相关信息
 */
export function removeRestaurantInformation(){
    return Cookies.remove(restaurant);
}